package com.inspur.attendance.Service;

import com.inspur.attendance.Entity.Department;
import org.springframework.data.domain.Page;

import java.util.List;

public interface DepartmentService {

    public Page<Department> getAllDepartment(int pageNo, int pageSize);

    public void addDepartment(Department department);

    public void delDepartment(Long id);

    Department findById(Long departmentId);
}
